package org.developer.dynamic.infra.mapper;

import org.developer.dynamic.domain.entity.Employees;
import org.developer.dynamic.infra.util.DataSourceKey;

/**
 * Mapper
 *
 * @author yisheng.mikelv@foxmail.com 2020-03-05 10:48:02
 */
public interface EmployeesMapper {

    /**
     * 根据id查询
     * @return 职员
     */
    @DataSourceKey("slave1")
    Employees getById();
}
